#!/bin/bash

# Script to run the PPT Extract tool

# Check if the JAR exists, if not, build it
if [ ! -f "target/jboltai_ppt_extract-1.0.0-jar-with-dependencies.jar" ]; then
    echo "Building project..."
    mvn clean package
fi

# Run the tool with the provided arguments
java -jar target/jboltai_ppt_extract-1.0.0-jar-with-dependencies.jar "$@"
